package dst.ass3.jms;
public class Constants {
	//Factory Name
    public static final String CONNECTION_FACTORY = "jms/ConnectionFactory";

    //Queue and Topic Name
    public static final String SERVER_QUEUE = "jms/ServerQueue";
    public static final String TASKFORCES_QUEUE = "jms/TaskForcesQueue";
    public static final String SCHEDULER_QUEUE = "jms/SchedulerQueue";
    public static final String TASKWORKER_TOPIC = "jms/TaskWorkerTopic";

    //Property Names for ObjectMessage
    public static final String PROPERTY_TASKFORCE = "PROP_TASKFORCE";
    public static final String PROPERTY_COMPLEXITY = "PROP_COMPLEXITY";
    public static final String PROPERTY_MESSAGE_TYPE = "PROP_MESSAGE_TYPE";

    //Message Types for Property Type PROPERTY_MESSAGE_TYPE
    public static final int MSG_SCHEDULER_TO_SERVER_CREATE = 1;
    public static final int MSG_SERVER_TO_SCHEDULER_CREATED = 2;
    public static final int MSG_SERVER_TO_TASKFORCE_DECIDE = 3;
    public static final int MSG_SCHEDULER_TO_SERVER_INFO = 4;
    public static final int MSG_SERVER_TO_SCHEDULER_INFO = 5;
    public static final int MSG_TASKFORCE_TO_SERVER_DECISION = 6;
    public static final int MSG_SERVER_TO_SCHEDULER_DENIED = 7;
    public static final int MSG_SERVER_TO_TASKWORKE_ASSIGN = 8;
    public static final int MSG_TASKWORKER_TO_SERVER_PROCESSED = 9;
    public static final int MSG_SERVER_TO_SCHEDULER_PROCESSED = 10;

    private Constants () { }
}
